import request from '@/utils/request'

// 查询excel合并列表
export function listExcelmerge(query) {
  return request({
    url: '/project/excelmerge/list',
    method: 'get',
    params: query
  })
}

// 查询excel合并详细
export function getExcelmerge(id) {
  return request({
    url: '/project/excelmerge/' + id,
    method: 'get'
  })
}

// 新增excel合并
export function addExcelmerge(data) {
  return request({
    url: '/project/excelmerge',
    method: 'post',
    data: data
  })
}

// 修改excel合并
export function updateExcelmerge(data) {
  return request({
    url: '/project/excelmerge',
    method: 'put',
    data: data
  })
}

// 删除excel合并
export function delExcelmerge(id) {
  return request({
    url: '/project/excelmerge/' + id,
    method: 'delete'
  })
}

// 查询excel合并详细
export function genExcel(id) {
  return request({
    url: '/project/excelmerge/genExcel/' + id,
    method: 'get'
  })
}
